package com.mineplatform.dto.rep;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.fasterxml.jackson.annotation.JsonFormat;

public class MineItemRep {

	String mineid;

	String categoryid;

	String name;

	String title;

	String company;

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	Integer price;

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	String imgpath;

	Boolean hot;

	Integer order;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	Date pubtime;

	// String description;
	String descr;

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	Integer praisecount;

	Integer replycount;

	String city;

	String position;

	Integer square;

	String provinceid;

	public String getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(String provinceid) {
		this.provinceid = provinceid;
	}

	public String getMineid() {
		return mineid;
	}

	public void setMineid(String mineid) {
		this.mineid = mineid;
	}

	public String getCategoryid() {
		return categoryid;
	}

	public void setCategoryid(String categoryid) {
		this.categoryid = categoryid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImgpath() {
		return imgpath;
	}

	public void setImgpath(String imgpath) {
		this.imgpath = imgpath;
	}

	public Boolean getHot() {
		return hot;
	}

	public void setHot(Boolean hot) {
		this.hot = hot;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Date getPubtime() {
		return pubtime;
	}

	public void setPubtime(Date pubtime) {
		this.pubtime = pubtime;
	}

	// public String getDescription() {
	// return description;
	// }
	//
	// public void setDescription(String description) {
	// this.description = description;
	// }

	public Integer getPraisecount() {
		return praisecount;
	}

	public void setPraisecount(Integer praisecount) {
		this.praisecount = praisecount;
	}

	public Integer getReplycount() {
		return replycount;
	}

	public void setReplycount(Integer replycount) {
		this.replycount = replycount;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getSquare() {
		return square;
	}

	public void setSquare(Integer square) {
		this.square = square;
	}

	public Integer getDegree() {
		return degree;
	}

	public void setDegree(Integer degree) {
		this.degree = degree;
	}

	public Integer getScale() {
		return scale;
	}

	public void setScale(Integer scale) {
		this.scale = scale;
	}

	public Integer getMiningright() {
		return miningright;
	}

	public void setMiningright(Integer miningright) {
		this.miningright = miningright;
	}

	public String getMaintype() {
		return maintype;
	}

	public void setMaintype(String maintype) {
		this.maintype = maintype;
	}

	public Integer getMiningrightproperty() {
		return miningrightproperty;
	}

	public void setMiningrightproperty(Integer miningrightproperty) {
		this.miningrightproperty = miningrightproperty;
	}

	public Integer getMiningmethod() {
		return miningmethod;
	}

	public void setMiningmethod(Integer miningmethod) {
		this.miningmethod = miningmethod;
	}

	public Integer getCooperationintention() {
		return cooperationintention;
	}

	public void setCooperationintention(Integer cooperationintention) {
		this.cooperationintention = cooperationintention;
	}

	public Integer getMineraltype() {
		return mineraltype;
	}

	public void setMineraltype(Integer mineraltype) {
		this.mineraltype = mineraltype;
	}

	Integer degree;

	Integer scale;

	Integer miningright;

	String maintype;

	Integer miningrightproperty;

	Integer miningmethod;

	Integer cooperationintention;

	Integer mineraltype;

	String mineimages;

	public String getMineimages() {
		return mineimages;
	}

	public void setMineimages(String mineimages) {
		this.mineimages = mineimages;
	}
	
	

	public String getCardno() {
		return cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno;
	}

	public String getMineowner() {
		return mineowner;
	}

	public void setMineowner(String mineowner) {
		this.mineowner = mineowner;
	}

	public String getMineralspecies() {
		return mineralspecies;
	}

	public void setMineralspecies(String mineralspecies) {
		this.mineralspecies = mineralspecies;
	}

	public Date getExpirydates() {
		return expirydates;
	}

	public void setExpirydates(Date expirydates) {
		this.expirydates = expirydates;
	}

	public String getGenetictype() {
		return genetictype;
	}

	public void setGenetictype(String genetictype) {
		this.genetictype = genetictype;
	}

	private String cardno;

	private String mineowner;	

	private String mineralspecies;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8") 
	private Date expirydates;

	private String genetictype;
}
